package com.blackcat.recode.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
* <p>
* 运维人员表
* </p>
*
* @author blackcat 2024-09-13
*/
@Getter
@Setter
public class Worker extends Model<Worker> {

    /**
    * 主键
    */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
    * 运维人员名称
    */
    private String workerName;

    /**
    * 邮箱
    */
    private String email;

    /**
    * 电话
    */
    private String telephone;

    /**
    * 微信
    */
    private String weChat;

    /**
    * QQ
    */
    private String qq;

    /**
    * 工作类型
    */
    private String workerType;

    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer size;


    @Override
    public Serializable pkVal() {
        return this.id;
    }
}